package com.totoro.configuration.Controller;

import com.totoro.configuration.config.FshBean;
import com.totoro.configuration.config.FshConfig;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class ConfigurationController {
//    @Resource
//    FshBean fshBean2;

    @GetMapping("/test")
    public String test(){
//        System.out.println(fshBean2.getName());
//        System.out.println(fshBean2.getLevel());
//        return fshBean2.getAge() + fshBean2.getLevel();
        return "success" ;
    }
}
